import React from 'react'
import styles from './index.module.css'
function Index() {
  let avatars = localStorage.getItem('avatar')
  let nicknames = localStorage.getItem('nickname')

  return (
    <div className={styles.top_wroe}>
      <img src={JSON.parse(avatars)} alt="" className={styles.images}/>
      <div>
       用户名: {JSON.parse(nicknames)}
      </div>
    </div>
  )
}

export default Index
